package cn.iocoder.yudao.module.ao.controller.admin.schedule.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 课程安排新增/修改 Request VO")
@Data
public class ScheduleSaveReqVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "22688")
    private Long id;

    @Schema(description = "课程名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "课程名称不能为空")
    private String courseName;

    @Schema(description = "班级名称", example = "李四")
    private String className;

    @Schema(description = "教室地点", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "教室地点不能为空")
    private String location;

    @Schema(description = "星期几（1-7，1表示周一，7表示周日）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "星期几（1-7，1表示周一，7表示周日）不能为空")
    private Integer dayOfWeek;

    @Schema(description = "时间段（1-5，对应第1-2节、第3-4节等）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "时间段（1-5，对应第1-2节、第3-4节等）不能为空")
    private Integer timeSlot;

    @Schema(description = "周次（第几周）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "周次（第几周）不能为空")
    private Integer weekNumber;

    @Schema(description = "用户ID（由后端自动填充）", example = "621")
    private Long userId;

    @Schema(description = "教师姓名（由后端自动填充）", example = "李四")
    private String teacherName;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

}